package com.efast.dmom.mes.dao.entity;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.efast.dmom.mes.dao.base.RouteRelateBaseEntityDao;
import com.efast.dmom.mes.entity.RouteStepWcEntity;

public interface RouteStepWCRelDao extends RouteRelateBaseEntityDao<RouteStepWcEntity>{

	public void saveRelation(List<RouteStepWcEntity> routeWcRelList);
	
	public void removeRelation(List<String> ids);
	
	public void removeRelationList(List<RouteStepWcEntity> routeWcRelList);
	
	public void updateRelation(List<RouteStepWcEntity> routeWcRelList);

	public int getRouteStepWcRelByOperationId(long operationId);

	public double getProdLineCapacity(@Param("routeKey") long routeKey,@Param("pLineKey") long pLineKey);

}
